<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>Document</title>
<script src="/CHENG-ZAO-ZAO/js/vue.js"></script>
<style>
    .classA{color:red}
</style>
</head>
<body>
     <div id="app">
       <div v-bind:class="{'classA':isRed}">我是v-bind指令，绑定class属性</div>
       <div v-bind:style="{fontSize:size +'px'}">我是v-bind指令，绑定style属性</div>
     </div>
<br>
   <script>
       let app = new Vue({
        el:"#app",
        data:{
             isRed:true,
             size:20
        }
       })
    </script>
</body>
</html>